Optimal. Leaf size=84 \[ \frac {x^4 (d+e x)}{5 d e \left (d^2-e^2 x^2\right )^{5/2}}-\frac {4 d^2}{15 e^5 \left (d^2-e^2 x^2\right )^{3/2}}+\frac {4}{5 e^5 \sqrt {d^2-e^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 84, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {819, 272, 45}
\begin {gather*} \frac {x^4 (d+e x)}{5 d e \left (d^2-e^2 x^2\right )^{5/2}}+\frac {4}{5 e^5 \sqrt {d^2-e^2 x^2}}-\frac {4 d^2}{15 e^5 \left (d^2-e^2 x^2\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 272
Rule 819
Rubi steps
\begin {align*} \int \frac {x^4 (d+e x)}{\left (d^2-e^2 x^2\right )^{7/2}} \, dx &=\frac {x^4 (d+e x)}{5 d e \left (d^2-e^2 x^2\right )^{5/2}}-\frac {4 \int \frac {x^3}{\left (d^2-e^2 x^2\right )^{5/2}} \, dx}{5 e}\\ &=\frac {x^4 (d+e x)}{5 d e \left (d^2-e^2 x^2\right )^{5/2}}-\frac {2 \text {Subst}\left (\int \frac {x}{\left (d^2-e^2 x\right )^{5/2}} \, dx,x,x^2\right )}{5 e}\\ &=\frac {x^4 (d+e x)}{5 d e \left (d^2-e^2 x^2\right )^{5/2}}-\frac {2 \text {Subst}\left (\int \left (\frac {d^2}{e^2 \left (d^2-e^2 x\right )^{5/2}}-\frac {1}{e^2 \left (d^2-e^2 x\right )^{3/2}}\right ) \, dx,x,x^2\right )}{5 e}\\ &=\frac {x^4 (d+e x)}{5 d e \left (d^2-e^2 x^2\right )^{5/2}}-\frac {4 d^2}{15 e^5 \left (d^2-e^2 x^2\right )^{3/2}}+\frac {4}{5 e^5 \sqrt {d^2-e^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.30, size = 82, normalized size = 0.98 \begin {gather*} \frac {\sqrt {d^2-e^2 x^2} \left (8 d^4-8 d^3 e x-12 d^2 e^2 x^2+12 d e^3 x^3+3 e^4 x^4\right )}{15 d e^5 (d-e x)^3 (d+e x)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(207\) vs.
\(2(72)=144\).
time = 0.05, size = 208, normalized size = 2.48
method | result | size |
gosper | \(\frac {\left (-e x +d \right ) \left (e x +d \right )^{2} \left (3 e^{4} x^{4}+12 d \,e^{3} x^{3}-12 d^{2} x^{2} e^{2}-8 d^{3} e x +8 d^{4}\right )}{15 d \,e^{5} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {7}{2}}}\) | \(77\) |
trager | \(\frac {\left (3 e^{4} x^{4}+12 d \,e^{3} x^{3}-12 d^{2} x^{2} e^{2}-8 d^{3} e x +8 d^{4}\right ) \sqrt {-e^{2} x^{2}+d^{2}}}{15 e^{5} d \left (-e x +d \right )^{3} \left (e x +d \right )^{2}}\) | \(79\) |
default | \(e \left (\frac {x^{4}}{e^{2} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}-\frac {4 d^{2} \left (\frac {x^{2}}{3 e^{2} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}-\frac {2 d^{2}}{15 e^{4} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}\right )}{e^{2}}\right )+d \left (\frac {x^{3}}{2 e^{2} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}-\frac {3 d^{2} \left (\frac {x}{4 e^{2} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}-\frac {d^{2} \left (\frac {x}{5 d^{2} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {5}{2}}}+\frac {\frac {4 x}{15 d^{2} \left (-e^{2} x^{2}+d^{2}\right )^{\frac {3}{2}}}+\frac {8 x}{15 d^{4} \sqrt {-e^{2} x^{2}+d^{2}}}}{d^{2}}\right )}{4 e^{2}}\right )}{2 e^{2}}\right )\) | \(208\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 145 vs.
\(2 (67) = 134\).
time = 0.27, size = 145, normalized size = 1.73 \begin {gather*} \frac {x^{4} e^{\left (-1\right )}}{{\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {5}{2}}} + \frac {d x^{3} e^{\left (-2\right )}}{2 \, {\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {5}{2}}} - \frac {4 \, d^{2} x^{2} e^{\left (-3\right )}}{3 \, {\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {5}{2}}} - \frac {3 \, d^{3} x e^{\left (-4\right )}}{10 \, {\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {5}{2}}} + \frac {8 \, d^{4} e^{\left (-5\right )}}{15 \, {\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {5}{2}}} + \frac {d x e^{\left (-4\right )}}{10 \, {\left (-x^{2} e^{2} + d^{2}\right )}^{\frac {3}{2}}} + \frac {x e^{\left (-4\right )}}{5 \, \sqrt {-x^{2} e^{2} + d^{2}} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 159 vs.
\(2 (67) = 134\).
time = 2.20, size = 159, normalized size = 1.89 \begin {gather*} \frac {8 \, x^{5} e^{5} - 8 \, d x^{4} e^{4} - 16 \, d^{2} x^{3} e^{3} + 16 \, d^{3} x^{2} e^{2} + 8 \, d^{4} x e - 8 \, d^{5} - {\left (3 \, x^{4} e^{4} + 12 \, d x^{3} e^{3} - 12 \, d^{2} x^{2} e^{2} - 8 \, d^{3} x e + 8 \, d^{4}\right )} \sqrt {-x^{2} e^{2} + d^{2}}}{15 \, {\left (d x^{5} e^{10} - d^{2} x^{4} e^{9} - 2 \, d^{3} x^{3} e^{8} + 2 \, d^{4} x^{2} e^{7} + d^{5} x e^{6} - d^{6} e^{5}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 23.41, size = 418, normalized size = 4.98 \begin {gather*} d \left (\begin {cases} - \frac {i x^{5}}{5 d^{7} \sqrt {-1 + \frac {e^{2} x^{2}}{d^{2}}} - 10 d^{5} e^{2} x^{2} \sqrt {-1 + \frac {e^{2} x^{2}}{d^{2}}} + 5 d^{3} e^{4} x^{4} \sqrt {-1 + \frac {e^{2} x^{2}}{d^{2}}}} & \text {for}\: \left |{\frac {e^{2} x^{2}}{d^{2}}}\right | > 1 \\\frac {x^{5}}{5 d^{7} \sqrt {1 - \frac {e^{2} x^{2}}{d^{2}}} - 10 d^{5} e^{2} x^{2} \sqrt {1 - \frac {e^{2} x^{2}}{d^{2}}} + 5 d^{3} e^{4} x^{4} \sqrt {1 - \frac {e^{2} x^{2}}{d^{2}}}} & \text {otherwise} \end {cases}\right ) + e \left (\begin {cases} \frac {8 d^{4}}{15 d^{4} e^{6} \sqrt {d^{2} - e^{2} x^{2}} - 30 d^{2} e^{8} x^{2} \sqrt {d^{2} - e^{2} x^{2}} + 15 e^{10} x^{4} \sqrt {d^{2} - e^{2} x^{2}}} - \frac {20 d^{2} e^{2} x^{2}}{15 d^{4} e^{6} \sqrt {d^{2} - e^{2} x^{2}} - 30 d^{2} e^{8} x^{2} \sqrt {d^{2} - e^{2} x^{2}} + 15 e^{10} x^{4} \sqrt {d^{2} - e^{2} x^{2}}} + \frac {15 e^{4} x^{4}}{15 d^{4} e^{6} \sqrt {d^{2} - e^{2} x^{2}} - 30 d^{2} e^{8} x^{2} \sqrt {d^{2} - e^{2} x^{2}} + 15 e^{10} x^{4} \sqrt {d^{2} - e^{2} x^{2}}} & \text {for}\: e \neq 0 \\\frac {x^{6}}{6 \left (d^{2}\right )^{\frac {7}{2}}} & \text {otherwise} \end {cases}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.70, size = 78, normalized size = 0.93 \begin {gather*} \frac {\sqrt {d^2-e^2\,x^2}\,\left (8\,d^4-8\,d^3\,e\,x-12\,d^2\,e^2\,x^2+12\,d\,e^3\,x^3+3\,e^4\,x^4\right )}{15\,d\,e^5\,{\left (d+e\,x\right )}^2\,{\left (d-e\,x\right )}^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________